#pragma once
#include <string>
#include <vector>
#include "FileLog.h"

using namespace std;
struct ISAPISETTINGS
{
	bool IsLogEnabled;
	string LogFolder;
	LOGLEVEL level;
};

class CISAPISettings
{
public:
	CISAPISettings(void);
public:
	~CISAPISettings(void);
protected:
	// TRUE - Log is enabled; FALSE - Log is disabled or set to None
	bool isLogEnabled;
	// Get log folder (folder must exist)
	string logFolder;
	// Vector of excluded files
	// Level of Log
	LOGLEVEL level;
public:
	ISAPISETTINGS GetBulkSettings(void);
	vector<string> exclusionFiles; // move to protected after testing
	int runOnce; // temporary

public:
	// Verify if file is in the exclusion list
	bool IgnoreThisFile(string Filename);
	string Upper(string& MyString);
	string GetFilename(const string& Path);
	string GetFolder(const string& Path);
	string GetExtension(const string& Path);
};
